ea0e9b1bbe636b59babbc6f6df9bf1f1dca6cce2,core/src/main/java/com/orientechnologies/orient/core/processor/block/OTableBlock.java,OTableBlock,processBlock,#OComposableProcessor#OCommandContext#ODocument#ODocument#boolean#,26
Before Change
if (!(iConfig instanceof ODocument))
throw new OProcessException("Content in not a JSON");
final Object header = getRequiredField(iContext, iConfig, "header");
final Object body = getRequiredField(iContext, iConfig, "body");
final Object footer = getRequiredField(iContext, iConfig, "footer");
final ODocument table = new ODocument();
table.field("header", isBlock(header) ? delegate("header", iManager, header, iContext, iOutput, iReadOnly) : header);
table.field("body", isBlock(body) ? delegate("body", iManager, body, iContext, iOutput, iReadOnly) : body);
table.field("footer", isBlock(footer) ? delegate("footer", iManager, footer, iContext, iOutput, iReadOnly) : footer);
After Change
if (!(iConfig instanceof ODocument))
throw new OProcessException("Content in not a JSON");
final ODocument table = new ODocument();
// HEADER
header = getRequiredField(iContext, iConfig, "header");
if (isBlock(header))
header = delegate("header", iManager, header, iContext, iOutput, iReadOnly);
table.field("header", header);
// BODY
body = getRequiredField(iContext, iConfig, "body");